using WpfApp1.Models;

namespace WpfApp1.DataAccess;

public interface ICourseSelectDataAccess
{
    //选择课程
    void SelectCourses(string courseNumber,string studentNumber);
    
    
    /**
     * 查询所有学生选课信息
     */
    List<StudentCourseSelection> GetStudentCourses();
    /**
     * 根据学生Number查询选课信息
     */
    List<StudentCourseSelection> GetStudentCoursesByStudentNumber(CourseSelection courseSelection);

    /**
     * 根据课程Number查询选课信息
     */
    List<StudentCourseSelection> GetStudentCoursesByCourseNumber(CourseSelection courseSelection);

    List<StudentCourseSelection> AdminGetStudentSelectCoursesByNumber(CourseSelection courseSelection);
}